<?php
/* 
 * ********* CVS HEADER ********* 
 * 
 * $RCSfile: admseqliste.php,v $ 
 * $Date: 2005/10/21 12:58:07 $ 
 * $Revision: 1.3 $ 
 * 
 * ********* CVS HEADER ********* 
 */
include("environnement/$session[environnement]/header.php");
require_once(get_path_module("admin"));
$pc = new panneau_controle();
$pc->calculRubriqueParFonction($op);
echo $pc->retourneEntete();
?>
<table>
 <tr>
 	<th>nom</th>
 	<th>description</th>
 	<th></th>
 </tr>
 <?php
 	$query="SELECT * FROM sequence GROUP BY id";
	$result=rportalrequete($query) or die ("ERREUR 0010");
	$class="class=\"liste_impaire\"";
	while($row=rportalligne($result))
	{
		echo "<tr $class><td><a href=\"?op=admseqdet&argid=$row[id]\">$row[nom]</a></td>\n";
		echo "<td>$row[description]</td>\n";
		echo "<td><a href=\"?op=admseqmod&argid=$row[id]\">modifier</a>\n";
		echo " | <a href=\"?op=admseqsupp&argid=$row[id]\">supprimer</a></td></tr>\n";
		if($class!="class=\"liste_impaire\"")
		{
			$class="class=\"liste_impaire\"";
		}else{
			$class="class=\"liste_paire\"";
		}
	}
 ?>
 
 </table>

<?php
include("environnement/$session[environnement]/footer.php");
?>